    <div class="container margin-top-content">
      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <div class="col-md-12">
            <div class="row outer-border shadow singlepage">
              
              <div class="col-md-9 padding15">
                <h4 class="font-biru judul-singlepage"><?php echo $hasil['judul']?></h4>
                <?php
                  if($hasil['id_parent'] == '0'){
                    echo $hasil['konten'];
					
                    ?>
                    <div class="outer-nobg">
          					<?php
          					if(isset($list_products)){
              			foreach($list_products as $val){
              				if($val['gambar']==""){
              					$gambar="default.jpg";
              				}else{
              					$gambar=$val['gambar'];
              				}
              				$path_gambar=base_url()."foto_produk/thumbs/".$gambar;
          					?>
                      <div class="row margin-top-product">
                        <div class="col-sm-3">
                          <p class="img-icon-product">
                            <img src="<?php echo $path_gambar;?>" alt="<?php echo $hasil['judul'] ?>">
                          </p>
                        </div>
                        <div class="col-sm-9">
                          <h1 class="jdl-product"><?php echo $val['judul']?></h1>
                          <p>
                            <?php
                    					if($val['deskripsi']!=""){
                    						$konten=$val['deskripsi'];
                    					}else{
                    						$tmp_konten=strip_tags($val['konten']);
                    					  $konten = word_limiter($tmp_konten, 20);
                                echo $konten;
                              }
                    				?>
                          </p>
                          <p>
                            <a class="btn btn-info btn-sm" href="<?php echo site_url('produk/'.$val['slug'])?>">Read more</a>
                          </p>
                        </div>
                      </div><!-- /row -->

                      <div class="garis-shadow">
                        <div class="clearfix"></div>
                      </div>

                      <?php
					  }
					  }
					  ?>

                     

                    <div class="clearfix"></div>
                    </div>
                    <?php
                  }else{
          				  echo $hasil['konten'];
                  }
        				?>
              </div>
              <div class="col-md-3 padding15">
                <?php
                  $this->load->view('sidebar_page');
                ?>
              </div>
            <div class="clearfix"></div>
            </div>
          </div>
        <div class="clearfix"></div>
        </div>
      </div>
    </div><!-- /.container -->